\(\int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx\) [289]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [B] (verification not implemented)
   Sympy [F(-1)]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 26, antiderivative size = 356 \[ \int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx=-\frac {(e+f x)^4}{4 b f}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^2}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^2}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^3}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^3}+\frac {6 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^4}+\frac {6 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^4} \]

[Out]

-1/4*(f*x+e)^4/b/f+(f*x+e)^3*ln(1+b*exp(d*x+c)/(a-(a^2+b^2)^(1/2)))/b/d+(f*x+e)^3*ln(1+b*exp(d*x+c)/(a+(a^2+b^
2)^(1/2)))/b/d+3*f*(f*x+e)^2*polylog(2,-b*exp(d*x+c)/(a-(a^2+b^2)^(1/2)))/b/d^2+3*f*(f*x+e)^2*polylog(2,-b*exp
(d*x+c)/(a+(a^2+b^2)^(1/2)))/b/d^2-6*f^2*(f*x+e)*polylog(3,-b*exp(d*x+c)/(a-(a^2+b^2)^(1/2)))/b/d^3-6*f^2*(f*x
+e)*polylog(3,-b*exp(d*x+c)/(a+(a^2+b^2)^(1/2)))/b/d^3+6*f^3*polylog(4,-b*exp(d*x+c)/(a-(a^2+b^2)^(1/2)))/b/d^
4+6*f^3*polylog(4,-b*exp(d*x+c)/(a+(a^2+b^2)^(1/2)))/b/d^4

Rubi [A] (verified)

Time = 0.35 (sec) , antiderivative size = 356, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {5680, 2221, 2611, 6744, 2320, 6724} \[ \int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx=\frac {6 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^4}+\frac {6 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^4}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^3}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^3}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^2}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^2}+\frac {(e+f x)^3 \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )}{b d}+\frac {(e+f x)^3 \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )}{b d}-\frac {(e+f x)^4}{4 b f} \]

[In]

Int[((e + f*x)^3*Cosh[c + d*x])/(a + b*Sinh[c + d*x]),x]

[Out]

-1/4*(e + f*x)^4/(b*f) + ((e + f*x)^3*Log[1 + (b*E^(c + d*x))/(a - Sqrt[a^2 + b^2])])/(b*d) + ((e + f*x)^3*Log
[1 + (b*E^(c + d*x))/(a + Sqrt[a^2 + b^2])])/(b*d) + (3*f*(e + f*x)^2*PolyLog[2, -((b*E^(c + d*x))/(a - Sqrt[a
^2 + b^2]))])/(b*d^2) + (3*f*(e + f*x)^2*PolyLog[2, -((b*E^(c + d*x))/(a + Sqrt[a^2 + b^2]))])/(b*d^2) - (6*f^
2*(e + f*x)*PolyLog[3, -((b*E^(c + d*x))/(a - Sqrt[a^2 + b^2]))])/(b*d^3) - (6*f^2*(e + f*x)*PolyLog[3, -((b*E
^(c + d*x))/(a + Sqrt[a^2 + b^2]))])/(b*d^3) + (6*f^3*PolyLog[4, -((b*E^(c + d*x))/(a - Sqrt[a^2 + b^2]))])/(b
*d^4) + (6*f^3*PolyLog[4, -((b*E^(c + d*x))/(a + Sqrt[a^2 + b^2]))])/(b*d^4)

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 2611

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[(-(
f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + b*x)))^n]/(b*c*n*Log[F])), x] + Dist[g*(m/(b*c*n*Log[F])), Int[(f + g*
x)^(m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 5680

Int[(Cosh[(c_.) + (d_.)*(x_)]*((e_.) + (f_.)*(x_))^(m_.))/((a_) + (b_.)*Sinh[(c_.) + (d_.)*(x_)]), x_Symbol] :
> Simp[-(e + f*x)^(m + 1)/(b*f*(m + 1)), x] + (Int[(e + f*x)^m*(E^(c + d*x)/(a - Rt[a^2 + b^2, 2] + b*E^(c + d
*x))), x] + Int[(e + f*x)^m*(E^(c + d*x)/(a + Rt[a^2 + b^2, 2] + b*E^(c + d*x))), x]) /; FreeQ[{a, b, c, d, e,
 f}, x] && IGtQ[m, 0] && NeQ[a^2 + b^2, 0]

Rule 6724

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rule 6744

Int[((e_.) + (f_.)*(x_))^(m_.)*PolyLog[n_, (d_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(p_.)], x_Symbol] :> Simp
[(e + f*x)^m*(PolyLog[n + 1, d*(F^(c*(a + b*x)))^p]/(b*c*p*Log[F])), x] - Dist[f*(m/(b*c*p*Log[F])), Int[(e +
f*x)^(m - 1)*PolyLog[n + 1, d*(F^(c*(a + b*x)))^p], x], x] /; FreeQ[{F, a, b, c, d, e, f, n, p}, x] && GtQ[m,
0]

Rubi steps \begin{align*} \text {integral}& = -\frac {(e+f x)^4}{4 b f}+\int \frac {e^{c+d x} (e+f x)^3}{a-\sqrt {a^2+b^2}+b e^{c+d x}} \, dx+\int \frac {e^{c+d x} (e+f x)^3}{a+\sqrt {a^2+b^2}+b e^{c+d x}} \, dx \\ & = -\frac {(e+f x)^4}{4 b f}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d}-\frac {(3 f) \int (e+f x)^2 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) \, dx}{b d}-\frac {(3 f) \int (e+f x)^2 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) \, dx}{b d} \\ & = -\frac {(e+f x)^4}{4 b f}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^2}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^2}-\frac {\left (6 f^2\right ) \int (e+f x) \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) \, dx}{b d^2}-\frac {\left (6 f^2\right ) \int (e+f x) \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) \, dx}{b d^2} \\ & = -\frac {(e+f x)^4}{4 b f}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^2}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^2}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^3}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^3}+\frac {\left (6 f^3\right ) \int \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) \, dx}{b d^3}+\frac {\left (6 f^3\right ) \int \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) \, dx}{b d^3} \\ & = -\frac {(e+f x)^4}{4 b f}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^2}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^2}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^3}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^3}+\frac {\left (6 f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (3,\frac {b x}{-a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b d^4}+\frac {\left (6 f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (3,-\frac {b x}{a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b d^4} \\ & = -\frac {(e+f x)^4}{4 b f}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d}+\frac {(e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^2}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^2}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^3}-\frac {6 f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^3}+\frac {6 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^4}+\frac {6 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^4} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.12 (sec) , antiderivative size = 329, normalized size of antiderivative = 0.92 \[ \int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx=\frac {-\frac {(e+f x)^4}{f}+\frac {4 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{d}+\frac {4 (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{d}+\frac {12 f \left (d^2 (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )-2 d f (e+f x) \operatorname {PolyLog}\left (3,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )+2 f^2 \operatorname {PolyLog}\left (4,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )\right )}{d^4}+\frac {12 f \left (d^2 (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )-2 d f (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+2 f^2 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )\right )}{d^4}}{4 b} \]

[In]

Integrate[((e + f*x)^3*Cosh[c + d*x])/(a + b*Sinh[c + d*x]),x]

[Out]

(-((e + f*x)^4/f) + (4*(e + f*x)^3*Log[1 + (b*E^(c + d*x))/(a - Sqrt[a^2 + b^2])])/d + (4*(e + f*x)^3*Log[1 +
(b*E^(c + d*x))/(a + Sqrt[a^2 + b^2])])/d + (12*f*(d^2*(e + f*x)^2*PolyLog[2, (b*E^(c + d*x))/(-a + Sqrt[a^2 +
 b^2])] - 2*d*f*(e + f*x)*PolyLog[3, (b*E^(c + d*x))/(-a + Sqrt[a^2 + b^2])] + 2*f^2*PolyLog[4, (b*E^(c + d*x)
)/(-a + Sqrt[a^2 + b^2])]))/d^4 + (12*f*(d^2*(e + f*x)^2*PolyLog[2, -((b*E^(c + d*x))/(a + Sqrt[a^2 + b^2]))]
- 2*d*f*(e + f*x)*PolyLog[3, -((b*E^(c + d*x))/(a + Sqrt[a^2 + b^2]))] + 2*f^2*PolyLog[4, -((b*E^(c + d*x))/(a
 + Sqrt[a^2 + b^2]))]))/d^4)/(4*b)

Maple [F]

\[\int \frac {\left (f x +e \right )^{3} \cosh \left (d x +c \right )}{a +b \sinh \left (d x +c \right )}d x\]

[In]

int((f*x+e)^3*cosh(d*x+c)/(a+b*sinh(d*x+c)),x)

[Out]

int((f*x+e)^3*cosh(d*x+c)/(a+b*sinh(d*x+c)),x)

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 882 vs. \(2 (328) = 656\).

Time = 0.27 (sec) , antiderivative size = 882, normalized size of antiderivative = 2.48 \[ \int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx=-\frac {d^{4} f^{3} x^{4} + 4 \, d^{4} e f^{2} x^{3} + 6 \, d^{4} e^{2} f x^{2} + 4 \, d^{4} e^{3} x - 24 \, f^{3} {\rm polylog}\left (4, \frac {a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right ) + {\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \sqrt {\frac {a^{2} + b^{2}}{b^{2}}}}{b}\right ) - 24 \, f^{3} {\rm polylog}\left (4, \frac {a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right ) - {\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \sqrt {\frac {a^{2} + b^{2}}{b^{2}}}}{b}\right ) - 12 \, {\left (d^{2} f^{3} x^{2} + 2 \, d^{2} e f^{2} x + d^{2} e^{2} f\right )} {\rm Li}_2\left (\frac {a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right ) + {\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \sqrt {\frac {a^{2} + b^{2}}{b^{2}}} - b}{b} + 1\right ) - 12 \, {\left (d^{2} f^{3} x^{2} + 2 \, d^{2} e f^{2} x + d^{2} e^{2} f\right )} {\rm Li}_2\left (\frac {a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right ) - {\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \sqrt {\frac {a^{2} + b^{2}}{b^{2}}} - b}{b} + 1\right ) - 4 \, {\left (d^{3} e^{3} - 3 \, c d^{2} e^{2} f + 3 \, c^{2} d e f^{2} - c^{3} f^{3}\right )} \log \left (2 \, b \cosh \left (d x + c\right ) + 2 \, b \sinh \left (d x + c\right ) + 2 \, b \sqrt {\frac {a^{2} + b^{2}}{b^{2}}} + 2 \, a\right ) - 4 \, {\left (d^{3} e^{3} - 3 \, c d^{2} e^{2} f + 3 \, c^{2} d e f^{2} - c^{3} f^{3}\right )} \log \left (2 \, b \cosh \left (d x + c\right ) + 2 \, b \sinh \left (d x + c\right ) - 2 \, b \sqrt {\frac {a^{2} + b^{2}}{b^{2}}} + 2 \, a\right ) - 4 \, {\left (d^{3} f^{3} x^{3} + 3 \, d^{3} e f^{2} x^{2} + 3 \, d^{3} e^{2} f x + 3 \, c d^{2} e^{2} f - 3 \, c^{2} d e f^{2} + c^{3} f^{3}\right )} \log \left (-\frac {a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right ) + {\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \sqrt {\frac {a^{2} + b^{2}}{b^{2}}} - b}{b}\right ) - 4 \, {\left (d^{3} f^{3} x^{3} + 3 \, d^{3} e f^{2} x^{2} + 3 \, d^{3} e^{2} f x + 3 \, c d^{2} e^{2} f - 3 \, c^{2} d e f^{2} + c^{3} f^{3}\right )} \log \left (-\frac {a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right ) - {\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \sqrt {\frac {a^{2} + b^{2}}{b^{2}}} - b}{b}\right ) + 24 \, {\left (d f^{3} x + d e f^{2}\right )} {\rm polylog}\left (3, \frac {a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right ) + {\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \sqrt {\frac {a^{2} + b^{2}}{b^{2}}}}{b}\right ) + 24 \, {\left (d f^{3} x + d e f^{2}\right )} {\rm polylog}\left (3, \frac {a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right ) - {\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \sqrt {\frac {a^{2} + b^{2}}{b^{2}}}}{b}\right )}{4 \, b d^{4}} \]

[In]

integrate((f*x+e)^3*cosh(d*x+c)/(a+b*sinh(d*x+c)),x, algorithm="fricas")

[Out]

-1/4*(d^4*f^3*x^4 + 4*d^4*e*f^2*x^3 + 6*d^4*e^2*f*x^2 + 4*d^4*e^3*x - 24*f^3*polylog(4, (a*cosh(d*x + c) + a*s
inh(d*x + c) + (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2))/b) - 24*f^3*polylog(4, (a*cosh(d*x +
 c) + a*sinh(d*x + c) - (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2))/b) - 12*(d^2*f^3*x^2 + 2*d^
2*e*f^2*x + d^2*e^2*f)*dilog((a*cosh(d*x + c) + a*sinh(d*x + c) + (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^
2 + b^2)/b^2) - b)/b + 1) - 12*(d^2*f^3*x^2 + 2*d^2*e*f^2*x + d^2*e^2*f)*dilog((a*cosh(d*x + c) + a*sinh(d*x +
 c) - (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2) - b)/b + 1) - 4*(d^3*e^3 - 3*c*d^2*e^2*f + 3*c
^2*d*e*f^2 - c^3*f^3)*log(2*b*cosh(d*x + c) + 2*b*sinh(d*x + c) + 2*b*sqrt((a^2 + b^2)/b^2) + 2*a) - 4*(d^3*e^
3 - 3*c*d^2*e^2*f + 3*c^2*d*e*f^2 - c^3*f^3)*log(2*b*cosh(d*x + c) + 2*b*sinh(d*x + c) - 2*b*sqrt((a^2 + b^2)/
b^2) + 2*a) - 4*(d^3*f^3*x^3 + 3*d^3*e*f^2*x^2 + 3*d^3*e^2*f*x + 3*c*d^2*e^2*f - 3*c^2*d*e*f^2 + c^3*f^3)*log(
-(a*cosh(d*x + c) + a*sinh(d*x + c) + (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2) - b)/b) - 4*(d
^3*f^3*x^3 + 3*d^3*e*f^2*x^2 + 3*d^3*e^2*f*x + 3*c*d^2*e^2*f - 3*c^2*d*e*f^2 + c^3*f^3)*log(-(a*cosh(d*x + c)
+ a*sinh(d*x + c) - (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2) - b)/b) + 24*(d*f^3*x + d*e*f^2)
*polylog(3, (a*cosh(d*x + c) + a*sinh(d*x + c) + (b*cosh(d*x + c) + b*sinh(d*x + c))*sqrt((a^2 + b^2)/b^2))/b)
 + 24*(d*f^3*x + d*e*f^2)*polylog(3, (a*cosh(d*x + c) + a*sinh(d*x + c) - (b*cosh(d*x + c) + b*sinh(d*x + c))*
sqrt((a^2 + b^2)/b^2))/b))/(b*d^4)

Sympy [F(-1)]

Timed out. \[ \int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx=\text {Timed out} \]

[In]

integrate((f*x+e)**3*cosh(d*x+c)/(a+b*sinh(d*x+c)),x)

[Out]

Timed out

Maxima [F]

\[ \int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx=\int { \frac {{\left (f x + e\right )}^{3} \cosh \left (d x + c\right )}{b \sinh \left (d x + c\right ) + a} \,d x } \]

[In]

integrate((f*x+e)^3*cosh(d*x+c)/(a+b*sinh(d*x+c)),x, algorithm="maxima")

[Out]

e^3*log(b*sinh(d*x + c) + a)/(b*d) + 1/4*(f^3*x^4 + 4*e*f^2*x^3 + 6*e^2*f*x^2)/b - integrate(-2*(b*f^3*x^3 + 3
*b*e*f^2*x^2 + 3*b*e^2*f*x - (a*f^3*x^3*e^c + 3*a*e*f^2*x^2*e^c + 3*a*e^2*f*x*e^c)*e^(d*x))/(b^2*e^(2*d*x + 2*
c) + 2*a*b*e^(d*x + c) - b^2), x)

Giac [F]

\[ \int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx=\int { \frac {{\left (f x + e\right )}^{3} \cosh \left (d x + c\right )}{b \sinh \left (d x + c\right ) + a} \,d x } \]

[In]

integrate((f*x+e)^3*cosh(d*x+c)/(a+b*sinh(d*x+c)),x, algorithm="giac")

[Out]

integrate((f*x + e)^3*cosh(d*x + c)/(b*sinh(d*x + c) + a), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {(e+f x)^3 \cosh (c+d x)}{a+b \sinh (c+d x)} \, dx=\int \frac {\mathrm {cosh}\left (c+d\,x\right )\,{\left (e+f\,x\right )}^3}{a+b\,\mathrm {sinh}\left (c+d\,x\right )} \,d x \]

[In]

int((cosh(c + d*x)*(e + f*x)^3)/(a + b*sinh(c + d*x)),x)

[Out]

int((cosh(c + d*x)*(e + f*x)^3)/(a + b*sinh(c + d*x)), x)